import java.util.Arrays;


public class Hexagon {

	public Point[] coords;
	private MatrixPosition index;
	public Point[] getCoords() {
		return coords;
	}


	public void setCoords(Point[] coords) {
		this.coords = coords;
	}


	public MatrixPosition getIndex() {
		return index;
	}


	public void setIndex(MatrixPosition index) {
		this.index = index;
	}


	public Integer getCoins() {
		return coins;
	}


	public void setCoins(Integer coins) {
		this.coins = coins;
	}


	@Override
	public String toString() {
		return "Hexagon [coords=" + Arrays.toString(coords) + ", index="
				+ index + ", coins=" + coins + ", Id=" + Id + "]";
	}


	public Integer getId() {
		return Id;
	}


	public void setId(Integer id) {
		Id = id;
	}


	private Integer coins;
	private Integer Id;
	
	
	public Hexagon(String index, Integer coins)
	{
		
		coords = new Point[6];
		this.index = new MatrixPosition(index);
		this.coins = coins;
	}


}
